setThumbTextPadding

open fun setThumbTextPadding(pixels: Int)(source)

Set the horizontal padding around the text drawn on the switch itself.

Parameters

pixels

Horizontal padding for switch thumb text in pixels

See also